package com.niit.yhserver.service;

import com.niit.yhpojo.dto.SalesOrderDTO;
import com.niit.yhpojo.entity.SalesOrder;
import com.niit.yhserver.result.Result;

import java.util.List;

public interface SalesOrderService {

        List<SalesOrder> selectAll();

        Result queryOrderList(String orderNum, String userName, String userPhone, String status, Integer pageNum, Integer pageSize);
        Result getOrderById(Long id);
        Result createOrder(SalesOrderDTO orderDTO);
        Result updateOrder(Long id, SalesOrderDTO orderDTO);
        Result deleteOrder(Long id);
}